/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.mybatis.generator.configuration;

/**
 * Mybatis代码生成器配置类
 *
 * @auther ebert_chan
 */
public class MyBatisGenertorProperties {

    /**
     * 源码包名
     */
    private String targetPackage;

    /**
     * 数据库表自增字段
     */
    private String generatedKey = "id";

    /**
     * 要生成源码的表名，%为所有表
     */
    private String tableNames = "%";

    /**
     * 源码Domain继承自RootClass
     */
    private String domainRootClass = "org.tianyun.cloud.common.domain.BaseDomain";

    public String getGeneratedKey() {
        return generatedKey;
    }

    public void setGeneratedKey(String generatedKey) {
        this.generatedKey = generatedKey;
    }

    public String getTargetPackage() {
        return targetPackage;
    }

    public void setTargetPackage(String targetPackage) {
        this.targetPackage = targetPackage;
    }

    public String getTableNames() {
        return tableNames;
    }

    public void setTableNames(String tableNames) {
        this.tableNames = tableNames;
    }

    public String getDomainRootClass() {
        return domainRootClass;
    }

    public void setDomainRootClass(String domainRootClass) {
        this.domainRootClass = domainRootClass;
    }

}
